import java.util.concurrent.ExecutionException;
public class Main {
    public static  void main(String[]args) {//throws ExecutionException, InterruptedException {
        long startTime = System.nanoTime();
        ExecuteRealisation ER=new ExecuteRealisation();
        primeNumbers pN=new primeNumbers();
        try {
            ER.getResultList();
        } catch (ExecutionException e) {
            e.printStackTrace();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        long stopTime = System.nanoTime();
        long elapsedTime = stopTime - startTime;
        System.out.println(elapsedTime);

    }

}
